package com.wuster.constant;

import java.util.Arrays;
import java.util.List;

/**
 * ClassName: FileConstant
 * Package: com.wuster.constant
 * Description: TODO
 *
 * @Author VictoriaZhou
 * @Create 2024/7/9 16:07
 * @Version 1.0
 */
public class FileConstant {
    public static final long MAX_FILE_SIZE = 5 * 1024 * 1024; // 上传的图片大小限制为5MB=5 * 1024 * 1024 B

    public static final List<String> ALLOWED_FILE_TYPES = Arrays.asList("image/jpeg", "image/png", "image/gif");

}
